from applications.extensions import ma
from marshmallow import fields
from applications.extensions import ma


# 突发事件处置列表的models的序列化类
class CriminalInfoOutSchema(ma.Schema):
    id = fields.Integer()
    criminal_id = fields.Str()
    name = fields.Str()
    sex = fields.Str()
    native_place = fields.Str()
    charge = fields.Str()
    subordi_jur = fields.Str()
    control_type = fields.Str()
    UWB_SN = fields.Str()
    GPS_SN = fields.Str()
    identify = fields.Str()
    adress = fields.Str()
    birth_date = fields.DateTime()
    create_time = fields.DateTime()